package myschool.myshchool15.mystudent;

import java.util.Scanner;

class MyStuendt_9 {
    public static void mian(String[] args) {
        //成绩区间
        Scanner input=new Scanner(System.in);

        System.out.print("请输入成绩：");
        int score=input.nextInt();
        //多重if判断 if-else if
        if(score >= 90 && score <= 100) {
            System.out.println("优");
        }
        else if (score >= 80) {
            System.out.println("良");
        }
        else if (score >=60) {
            System.out.println("中");
        }
        else {
            System.out.println("差");
        }
    }

}
